/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.digitalization.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.digitalization.dto.RsdamlPageChangeDTO;
import org.springblade.modules.digitalization.dto.RsdamlPageUpdateDTO;
import org.springblade.modules.digitalization.dto.SelectRsdamlRead;
import org.springblade.modules.digitalization.entity.ManageRsdamlEntity;
import org.springblade.modules.digitalization.excel.ManageRsdamlExcel;
import org.springblade.modules.digitalization.vo.CatalogItem;
import org.springblade.modules.digitalization.vo.ManageRsdamlVO;
import org.springblade.modules.digitalization.wrapper.UserMenuRs;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 干部人事档案目录信息表-JAVA 服务类
 *
 * @author Rs
 * @since 2023-01-07
 */
public interface IManageRsdamlService extends BaseService<ManageRsdamlEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param rsdaml
	 * @return
	 */
	IPage<ManageRsdamlVO> selectManageRsdamlPage(IPage<ManageRsdamlVO> page, ManageRsdamlVO rsdaml);


	List<CatalogItem> slectCatalogItem(SelectRsdamlRead selectRsdamlRead);

	List<ManageRsdamlExcel> doImport(MultipartFile file, String a0000, Integer status);

	List<ManageRsdamlExcel> getMlErrorMaps(String a0000);

	Integer getClassMap(String rsdaml002);

	List<UserMenuRs> getMenusByA0000(String a0000);

	List<ManageRsdamlVO> listWithPage(ManageRsdamlEntity rsdaml);

	@Deprecated
	int changePageCount(RsdamlPageUpdateDTO list);

	int changePageNo(RsdamlPageChangeDTO pageChangeDTO);

	boolean deleteByIds(String ids);

	void saveSorts(String a0000);

	boolean saveManageRsdamlEntity(ManageRsdamlEntity rsdaml);

	boolean updateManageRsdamlEntity(ManageRsdamlEntity rsdaml);

	boolean saveOrUpdateManageRsdamlEntity(ManageRsdamlEntity rsdaml);

	boolean removeManageRsdamlEntity(List<Long> ids);

	boolean updateSanCaiLiaoStatus(String a0000);

	List<ManageRsdamlEntity> getByRsdaml000(List<String> rsdaml000List);
}
